package gwtroot.service;

import gwtroot.My.Wheel;

import com.google.web.bindery.requestfactory.shared.Locator;

public class WheelService extends Locator<Wheel, Long> {

	public Wheel create(Class<? extends Wheel> clazz) {
		return new Wheel();
	}

	public Long getId(Wheel domainObject) {
		return domainObject.getId();
	}

	public Wheel find(Class<? extends Wheel> clazz, Long id) {
		return null;
	}

	public Object getVersion(Wheel domainObject) {
		return domainObject.getVersion();
	}

	public Class<Wheel> getDomainType() {
		return Wheel.class;
	}

	public Class<Long> getIdType() {
		return Long.class;
	}

}
